<template>
   <div>
<!--     i18n-->
<!--     {{$t(tagsView)}}-->

     {{$t('txt')}}
     {{$t('loading.color',{message:'你好'})}}

     <el-button @click="changeLanguage()">切换</el-button>
   </div>
</template>

<script>
export default {
  name: "index",
  methods:{
    changeLanguage(){
      this.$i18n.locale = 'zh'
    }
  }
}
</script>

<style scoped>

</style>